package com.hzdesk.media.koreabatchmatvector.bean;

/**
 * 上传文件请求返回Token 用户信息
 * Created by Administrator on 2018/5/26.
 */

public class UploadFileTokenBean {

    /**
     * code : 100
     * message : SUCCESS
     * data : {"id":"40288aeb636710f601636710f6db0001","fileSecret":"40288aeb636710f601636710f6db0000","accessPoint":"v0.api.upyun.com","bucketName":"klptest","userName":"6b6c7061646d696e","password":"100cda92699a36cf660c9598864582a8"}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 40288aeb636710f601636710f6db0001
         * fileSecret : 40288aeb636710f601636710f6db0000
         * accessPoint : v0.api.upyun.com
         * bucketName : klptest
         * userName : 6b6c7061646d696e
         * password : 100cda92699a36cf660c9598864582a8
         */

        private String id;
        private String fileSecret;
        private String accessPoint;
        private String bucketName;
        private String userName;
        private String password;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFileSecret() {
            return fileSecret;
        }

        public void setFileSecret(String fileSecret) {
            this.fileSecret = fileSecret;
        }

        public String getAccessPoint() {
            return accessPoint;
        }

        public void setAccessPoint(String accessPoint) {
            this.accessPoint = accessPoint;
        }

        public String getBucketName() {
            return bucketName;
        }

        public void setBucketName(String bucketName) {
            this.bucketName = bucketName;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id='" + id + '\'' +
                    ", fileSecret='" + fileSecret + '\'' +
                    ", accessPoint='" + accessPoint + '\'' +
                    ", bucketName='" + bucketName + '\'' +
                    ", userName='" + userName + '\'' +
                    ", password='" + password + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "UploadFileTokenBean{" +
                "code=" + code +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
